import React from 'react'
import avater from './images/react.png'
import mousePos from './hooks/mousePos'
export default function Test () {
  const  count = mousePos()
  
  return (
    <div>
      <img style={{
        width: 100,
        position: 'absolute',
        left: count.left - 50,
        top: count.top + 50
      }} src={avater} alt='dva' />
    </div>
  )
}